Synonyms operations
Create or replace synonyms
If a synonym with the objectID
doesn’t exist, Algolia adds a new one.
Otherwise, existing synonyms are replaced.
This operation is subject to indexing rate limits.
POST
Authorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Path Parameters
Name of the index on which to perform the operation.
Example:
"ALGOLIA_INDEX_NAME"
Query Parameters
Whether changes are applied to replica indices.
Whether to replace all synonyms in the index with the ones sent with this request.
Body
application/json · object[]
Matching synonyms.
Response
200
application/json
OK
Response, taskID, and update timestamp.